package com.ddwl.schema.bo.wallet;

import io.gitee.tooleek.lock.spring.boot.annotation.Key;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 类ShopWithdrawBo.java的实现描述：TODO
 *
 * @author zach
 * @Date :2020-12-09 16:31.
 */
@Getter
@Setter
@ApiModel(value = "店铺提交体现申请入参")
public class ShopSubmitWithdrawBo {
    @Key
    @ApiModelProperty(value = "用户id",hidden = true)
    private String userId;
    @ApiModelProperty(value = "用户名称",hidden = true)
    private String userName;
    @NotNull
    @Min(value = 1,message = "提现金额不能少于一块钱")
    @ApiModelProperty(value = "提现金额",required = true)
    private BigDecimal totalAmount;
    @ApiModelProperty(value = "店铺ID",hidden = true)
    private String shopId;

    @ApiModelProperty(value = "店铺名称",hidden = true)
    private String shopName;
}
